package com.example.huadu_server.appointment.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class AppointmentDTO {
    private Integer id;
    private Integer userId;      // 用户 ID
    private Integer houseId;     // 房源 ID
    private Integer scheduleId;     // 档期 ID
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") // 强制解析时间格式
    private Date appointmentDate;
}
